home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Reusable Classes_Code / User Interface / KeyCanvas Plugin a1 / readme < prev    next >
Text File  |  2000-01-06  |  1KB  |  21 lines

  1. KeyCanvas (alpha 1)
  2.  
  3. January 6, 2000
  4. Doug Holton <doug.holton@vanderbilt.edu>
  5.  
  6. This plugin is still in development.  It mainly has cosmetic bugs (like the focus ring not always being drawn) and 68K bugs.  So I wouldn't recommend using this plugin with real applications.  Feel free to modify/improve/learn from the source as you like however.
  7.  
  8. This control replicates a canvas control pretty much, with some extras to help in developing custom controls.
  9. 1 - KeyDown event.  When the control has the focus, it receives keydown events just like an editfield.
  10. 2 - Frame.  It also draws an optional editfield frame around the control.
  11. 3 - ScrollBars.  There are optional built-in vertical and horizontal scrollbars.  Unfortunately they are non-live scrollbars (the drag manager takes over while scrolling), the control only receives ScrollChanged events after the scrolling is finished (when the mouse is released).
  12.  
  13.  
  14. There is a simple demo project.  I will include better demos later.
  15.  
  16. Updates will be posted at:
  17. http://www.playground.ltc.vanderbilt.edu/~holtondl/basic/plugins/
  18.  
  19. Doug Holton
  20. <doug.holton@vanderbilt.edu>
  21.